<template>
  <div class="bglist" @click="to">
    <div class="List">
      <div></div>
      <div class="Lpic">
        <div class="beforepic">
          <img :src="'bimg/'+item.name1" />
        </div>
        <div class="bgpic">
          <img :src="'bimg/'+item.name2" />
          <img :src="'bimg/'+item.name3" />
        </div>
      </div>

      <div class="Lcenter">
        <p>
          <span>1</span>{{item.title1}}
        </p>
        <p>
          <span>2</span>{{item.title2}}
        </p>
        <p>
          <span>3</span>{{item.title3}}
        </p>
      </div>
      <div class="Licon">
        <span>
          <van-icon name="arrow" />
        </span>
      </div>
    </div>
    <div class="ltitle">
      <span>{{item.Lists}}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "foot",
  props: {
    msg: String,
    item: "",
  },
  data() {
    return {
      active: "",
    };
  },
  methods: {
    to(){
      var pin = 3
      this.$router.push({
          path: '/exom',
          query: {
            id:pin
          }
      })
    }
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.bList,
.List {
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0.2rem 0.1rem 0.2rem;
  padding-left: 0.2rem;
}
.bgpic {
  display: flex;
  justify-content: space-around;
}
.bgpic img {
  margin-top: -2.3rem;
  height: 2.2rem;
  width: 55%;
}
.beforepic img {
  height: 2.5rem;
  width: 70%;
  margin-left: 0.4rem;
  position: relative;
  z-index: 2;
}

.Lpic {
  display: flex;
  width: 30%;
  flex-direction: column;
}

.Lcenter {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 60%;
  margin-left: .2rem;
}

.Licon {
  align-self: center;
}

.showtop {
  font-size: 0.4rem;
  font-weight: 600;
}

.showmain {
  color: rgb(94, 79, 79, 0.6);
  font-size: 0.3rem;
  font-weight: 500;
}
.ltitle {
  height: 0.8rem;
  font-size: 0.4rem;
  font-weight: 700;
  border-bottom: 0.01rem solid rgb(209, 201, 201);
}
.ltitle span {
  margin-left: 1rem;
}
</style>